package com.vipheyue.educationmp4.bean;

import cn.bmob.v3.BmobObject;

/**
 * Created by heyue on 16/8/20.
 */

public class CourseBean extends BmobObject {
    Integer type;//0:MP4   1: MP3
    String round;//第几周期
    String uri;
    String courseName;
    GradeBean  gradeBean;//所属的grade
    Integer index;
    Boolean saved;

    public Boolean getSaved() {
        return saved;
    }

    public void setSaved(Boolean saved) {
        this.saved = saved;
    }

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    public String getRound() {
        return round;
    }

    public void setRound(String round) {
        this.round = round;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public GradeBean getGradeBean() {
        return gradeBean;
    }

    public void setGradeBean(GradeBean gradeBean) {
        this.gradeBean = gradeBean;
    }

    public  String getBeanSavePath() {
        return "/sdcard/xUtils/" +(courseName + uri + index).hashCode();
    }
}
